
#ifndef __ai_pathfindingH__
#define __ai_pathfindingH__

#include "ai_behaviour.h"
#include "world.h"

namespace WtfEngine { namespace Behaviours {
	/**
	 * This is the high-level pathfinding behaviour, which sets
	 * intermediate goal points based upon a destination point.
	 **/
	class Pathfinding: public Behaviour {
	
	public:
		/// Default behaviour - identity
		virtual bool Evaluate(const IMobileActor::tRef& rActor, const tVector& vDestination, tVector& vGoal) {
			vGoal = vDestination;
		};

		DATA_OBJECT(Pathfinding, sizeof(Pathfinding));
	};
}};

#endif
